package com.test.javafaq_portal.service;

import com.test.javafaq_portal.entity.Answer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.test.javafaq_portal.vo.AnswerVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author test.com
 * @since 2025-04-11
 */
public interface IAnswerService extends IService<Answer> {

    //获取指定问题的答案
    List<Answer> getAnswersByQuestionId(Integer questionId);
    Answer answerQuestion(AnswerVo answerVo);
}
